home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-04-16 | 1.2 KB | 42 lines | [TEXT/CWIE] |
- // PPAsyncHFSStoreStream.h
- // Copyright: © 1996 - 1998 by Apple Computer, Inc., all rights reserved.
- // Implements IAStoreStream for asynchronous access to a Macintosh HFS file.
-
- #pragma once
- #include "HFSStoreStream.h"
-
- class PPAsyncHFSStoreStream : public HFSStoreStream {
- public:
- PPAsyncHFSStoreStream(short vRef, long dirId, const StringPtr fileName,
- OSType creator = 'NtSc', OSType fileType = 'NInd');
-
- ~PPAsyncHFSStoreStream();
- //PPAsyncHFSStoreStream(short vRef, long dirId, const StringPtr fileName,
- // OSType creator, OSType fileType, bool isOpen, bool isWritable,
- // short fRefNum);
-
- // PPAsyncHFSStoreStream(PPAsyncHFSStoreStream& s) : HFSStoreStream(s){}
-
- virtual IAStoreStream* Clone();
- void GetFSSpec(FSSpec *fileSpec);
-
- protected:
-
-
- PPAsyncHFSStoreStream(short vRef, long dirId, const StringPtr fileName,
- OSType creator, OSType fileType, bool isOpen, bool isWritable,
- short fRefNum);
-
- void Write(uint32 address, const byte* data, uint32 length);
- uint32 Read(uint32 address, byte* data, uint32 length);
-
- };
-
-
-
-
- class IAStorage;
-
- IAStorage* MakePPAsyncHFSStorage(short vRef, long dirId, const StringPtr name, OSType creator, OSType t);
-
-